3f7bd278cb5d62e958bb181a01f65585b4fdbb42,sudokil/core/src/com/custardgames/sudokil/ui/MapInterface.java,MapInterface,MapInterface,#LevelData#,57
Before Change
tmr = new OrthogonalTiledMapRenderer(tileMap);
camera = new OrthographicCamera();
tmr.setView(camera);
this.getViewport().setCamera(camera);
box2dWorldManager = new Box2dWorldManager();
box2dWorldManager.loadMap(tileMap);
After Change
backgroundImage = new Image(new Texture(Gdx.files.internal("images/ui/background.png")));
backgroundImage.setBounds(-backgroundCamera.viewportWidth / 2, -backgroundCamera.viewportHeight / 2, backgroundCamera.viewportWidth, backgroundCamera.viewportHeight);
this.addActor(backgroundImage);
this.getViewport().setCamera(backgroundCamera);
}
@Override